<?php
	include ("../setting/kon.php");
	$id_produk = $_POST['id_produk'];
	$id_ukuran = $_POST['id_ukuran'];
	$sttmt = $koneksi->query("select stok from stok where id_produk = $id_produk and id_ukuran = $id_ukuran");
    $s = $sttmt->Fetch(PDO::FETCH_ASSOC);
	echo "$s[stok] <input type=hidden value=$s[stok] name=stok>";
?>